derivatives of exponential and chain